package com.bjtang.book.dto;

import org.hibernate.validator.constraints.Length;

import lombok.Data;

@Data
public class LoginDto {
	// 登录名
	// @NonNull
	@Length(min = 4, max = 64)
	private String loginName;
	// 登录密码
	// @NonNull
	@Length(min = 6, max = 128)
	private String password;
	// 登录验证码
	// @NonNull
	@Length(min = 4, max = 4)
	private String yzm;

}
